package com.zl.petstore.dao;

import com.zl.petstore.domain.Order;
import com.zl.petstore.domain.OrderDetail;

import java.util.List;

public interface OrderDetailDao {

    //查询所有订单详细数据
    List<OrderDetail> findAll ();
    //根据主键查询
    OrderDetail findByPk(int orderid, String productid);
    //创建订单详细信息
    int create(OrderDetail orderDetail);
    //修改订单详细信息
    int modify(OrderDetail orderDetail);
    //删除订单详细信息
    int remove(OrderDetail orderDetail);

}
